package cn.datax.service.data.market.service;

import cn.datax.common.base.BaseService;
import cn.datax.service.data.market.api.dto.ApiWarnRuleDto;
import cn.datax.service.data.market.api.entity.ApiWarnRuleEntity;

import java.util.List;

/**
 * <p>
 * 数据API告警规则 服务
 * </p>
 *
 * @author jimmy
 * @since 2021-07-27
 */
public interface ApiWarnRuleService extends BaseService<ApiWarnRuleEntity> {

    void saveApiWarnRule(ApiWarnRuleDto apiWarnRuleDto);

    void updateApiWarnRule(ApiWarnRuleDto apiWarnRuleDto);

    ApiWarnRuleEntity getApiWarnRuleById(String id);

    void deleteApiWarnRuleById(String id);

    void deleteApiWarnRuleBatch(List<String> ids);
}
